//
//  TrainDetailTABCell.m
//  SpiritWalk
//
//  Created by shange1999 on 16/3/14.
//  Copyright © 2016年 王鑫. All rights reserved.
//

#import "TrainDetailTABCell.h"

@implementation TrainDetailTABCell


-(void)layoutSubviews{
    
    self.titleLavel.text =self.receiveModel.resolve_name;
    NSString *miu =[NSString stringWithFormat:@"%d",[self.receiveModel.total_time intValue]/60];
    NSString *sec =[NSString stringWithFormat:@"%d",[self.receiveModel.total_time intValue]%60];
    self.timeLabel.font =[UIFont systemFontOfSize:14];
    self.timeLabel.text =[NSString stringWithFormat:@"%@分%@秒",miu,sec];
    

}























- (void)awakeFromNib {
    // Initialization code
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
